using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._BusinessAnalystTools._SuitabilityAnalysis
{
    /// <summary>
    /// <para>Remove Suitability Criteria</para>
    /// <para>Removes criteria from a suitability analysis layer.</para>
    /// <para>从适宜性分析图层中移除条件。</para>
    /// </summary>    
    [DisplayName("Remove Suitability Criteria")]
    public class RemoveSuitabilityCriteria : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveSuitabilityCriteria()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_analysis_layer">
        /// <para>Input Suitability Analysis Layer</para>
        /// <para>The suitability analysis layer from which criteria will be removed.</para>
        /// <para>拟从中移除条件的适宜性分析图层。</para>
        /// </param>
        /// <param name="_drop_criteria">
        /// <para>Drop Criteria</para>
        /// <para>A list of criteria to be removed from a suitability analysis layer.</para>
        /// <para>要从适宜性分析图层中移除的条件列表。</para>
        /// </param>
        public RemoveSuitabilityCriteria(object _in_analysis_layer, List<object> _drop_criteria)
        {
            this._in_analysis_layer = _in_analysis_layer;
            this._drop_criteria = _drop_criteria;
        }
        public override string ToolboxName => "Business Analyst Tools";

        public override string ToolName => "Remove Suitability Criteria";

        public override string CallName => "ba.RemoveSuitabilityCriteria";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_analysis_layer, _drop_criteria, _updated_analysis_layer];

        /// <summary>
        /// <para>Input Suitability Analysis Layer</para>
        /// <para>The suitability analysis layer from which criteria will be removed.</para>
        /// <para>拟从中移除条件的适宜性分析图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Suitability Analysis Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_analysis_layer { get; set; }


        /// <summary>
        /// <para>Drop Criteria</para>
        /// <para>A list of criteria to be removed from a suitability analysis layer.</para>
        /// <para>要从适宜性分析图层中移除的条件列表。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Drop Criteria")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _drop_criteria { get; set; }


        /// <summary>
        /// <para>Output Suitability Analysis Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Suitability Analysis Layer")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_analysis_layer { get; set; }


        public RemoveSuitabilityCriteria SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}